package com.recycle.system.domain;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.recycle.common.annotation.Excel;
import com.recycle.common.core.domain.BaseEntity;

import java.math.BigDecimal;

/**
 * 资源类型对象 waste_resource_type
 *
 * @author recycle
 * @date 2023-03-11
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class WasteResourceType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 资源类型id */
    @Excel(name = "资源类型编号")
    private Long resourceTypeId;

    /** 父id */
    @Excel(name = "父编号")
    private Long pid;

    /** 垃圾分类名称 */
    @Excel(name = "垃圾分类名称")
    private String resourceTypeName;

    public BigDecimal getReferencePrice() {
        return referencePrice;
    }


    /** 参考价格 */
    @Excel(name = "参考价格，单位元/每千克")
    private BigDecimal referencePrice;


}
